package tech.aistar.corejava.day17.day17home;

import java.util.Date;

/**
 * Created by 豆梦寒 on 2019/8/6.
 */
public class Emp {
    private int empId;
    private String empName;
    private Date empBir;
    private String empJob;

    public Emp() {
    }

    public Emp(int empId, String empName, Date empBir, String empJob) {
        this.empId = empId;
        this.empName = empName;
        this.empBir = empBir;
        this.empJob = empJob;
    }

    public int getEmpId() {
        return empId;
    }

    public void setEmpId(int empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Date getEmpBir() {
        return empBir;
    }

    public void setEmpBir(Date empBir) {
        this.empBir = empBir;
    }

    public String getEmpJob() {
        return empJob;
    }

    public void setEmpJob(String empJob) {
        this.empJob = empJob;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Emp{");
        sb.append("empId=").append(empId);
        sb.append(", empName='").append(empName).append('\'');
        sb.append(", empBir=").append(empBir);
        sb.append(", empJob=").append(empJob);
        sb.append('}');
        return sb.toString();
    }
}
